#ifndef UTILS_H
#define UTILS_H
#include <SFML/Graphics.hpp>
using namespace sf;
using namespace std;
const double PI = 3.14159265358979323846;
const double RADIANS_PER_DEGREE = PI / 180.0;
const float FRICTON = 0.05f;
const float CAMERA_SPRING = 0.75;
const int NUM_RESOURCES = 100;
const string PLAYER_IMAGE = "human";
const string ZOMBIE_IMAGE = "zombie";
const string WALL_IMAGE = "wall";
const string STREET_IMAGE = "street";
const string INTERSECTION_IMAGE = "intersection";
const string IMG_EXT = ".png";

float angleTo(Vector2f, Vector2f);
int sign(int);
template <class T> T sign(T);
void viewFollow(View&, Vector2f, float);
Vector2f normalize(Vector2f);
#endif
